import 'package:flutter/material.dart';

class TextPage extends StatelessWidget {
  const TextPage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: const Text('Text'),
      ),
      body: Padding(
        padding: const EdgeInsets.all(20.0),
        child: ListView(
          
          children: const [
            Text("比特猫编程"),
            Text("比特猫编程",style: TextStyle(fontSize: 30,color: Colors.deepPurple),),
            Text("比特猫编程",style: TextStyle(fontWeight: FontWeight.w600,decoration: TextDecoration.underline),),
            Text("比特猫编程",style: TextStyle(fontWeight: FontWeight.w600,decoration: TextDecoration.lineThrough),),
            Text.rich(TextSpan(
              children: [
                TextSpan(text: "比特"),
                TextSpan(text: "猫abc",style: TextStyle(color: Colors.deepPurple,fontSize: 30)),
                TextSpan(text: "编程abc",style: TextStyle(fontFamily: 'a1',fontSize: 30)),
              ]
            ))
          ],
        ),
      ),
    );
  }
}
